<template>
	<view class="content">
		<!-- 限时秒杀 -->
		<view class="carWashing">
			<view class="washInger">
				<view class="washIngerl">
					限时秒杀
				</view>
				<view class="fatSeKill">
					<view class="washIngerlseKll">
						<view class="washIngerlseKllRr">
							13点场
						</view>
						<uni-countdown background-color="#030611" border-color="#030611" color="#FFFFFF"
							:show-day="false" :hour="0" :minute="minute" :second="0" :reset="reset" @timeup="timeUp">
						</uni-countdown>
					</view>
					<view class="washIngerr">
						<view class="helper_header_right">
							天天优惠, 不能错过 <u-icon name="arrow-right"></u-icon>
						</view>
					</view>
				</view>
			</view>
			<view class="swiper_car">
				<scroll-view class="swiper_list" :scroll-x="true" :show-scrollbar="false">
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
					<view class="swiper_list_car">
						<view class="swiper_list_cart">
							<image src="../static/images/dd2.jpg" class="imgName"></image>
						</view>
						<view class="swiper_list_carb">
							<text class="swiper_list_carbl">¥238</text><text class="swiper_list_carbr">¥338</text>
						</view>
					</view>
				</scroll-view>
			</view>
		</view>
	</view>
</template>

<script>
	import uniCountdown from "@/components/linnian-CountDown/uni-countdown.vue"
	export default {
		data() {
			return {
				minute: 60,
				reset: false
			}
		},
		components: {
			uniCountdown
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background-color: #f0f0f0;

		.carWashing {
			width: 100%;
			height: 310rpx;
			background-color: #FFFFFF;
			margin-top: 15rpx;
			border-radius: 10rpx;

			.washInger {
				width: 100%;
				padding: 0 17rpx;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;
				align-items: center;
				height: 66rpx;
				margin-bottom: 15rpx;

				.washIngerl {
					width: 140rpx;
					font-weight: 900;
					font-size: 29rpx;
					color: #000000;
				}

				.fatSeKill {
					display: flex;
					justify-content: space-between;
					align-items: center;
					width: 100%;

					.washIngerlseKll {
						display: flex;
						align-items: center;
						margin-right: 10rpx;

						.washIngerlseKllRr {
							font-size: 25rpx;
							font-weight: 600;
							margin-right: 10rpx;
						}

					}

					.washIngerr {
						color: #fe2e1e;

						.helper_header_right {
							font-size: 22rpx;
						}
					}
				}

			}

			.swiper_car {
				width: 100%;
				padding: 0 15rpx;
				height: 225rpx;
				white-space: nowrap;
				box-sizing: border-box;

				.swiper_list {
					height: 100%;

					.swiper_list_car {
						box-sizing: border-box;
						display: inline-block;
						width: 165rpx;
						height: 220rpx;
						margin-right: 15rpx;
						background-image: linear-gradient(to bottom, #f8f8f8, #f8f8f8);
						border-radius: 15rpx;

						.swiper_list_cart {
							width: 100%;
							display: flex;
							justify-content: center;
							align-items: center;
							margin: 20rpx 0;


							.imgName {
								width: 120rpx;
								height: 120rpx;
							}
						}

						.swiper_list_carb {
							display: flex;
							width: 100%;
							height: 50rpx;
							align-items: center;
							justify-content: center;

							.swiper_list_carbl {
								font-size: 24rpx;
								color: #fe2e1e;
								margin-right: 10rpx;
							}

							.swiper_list_carbr {
								color: #253045;
								font-size: 21rpx;
								text-decoration: line-through;
							}
						}
					}
				}
			}
		}
	}
</style>
